{% load static %}
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <title>运维平台</title>
        <link rel="stylesheet" href="{% static 'layui/css/layui.css' %}">
        <script src="https://cdn.bootcss.com/jquery/3.5.0/jquery.min.js"></script>
        <link rel="stylesheet" href="{% static 'css/index.css' %}">
        <style>

        </style>
    </head>

    <body>
        <div class="layui-layout layui-layout-admin">
            <div class="layui-header layui-bg-cyan">
                <div class="layui-logo " style="font-size: 22px">
                    <i class="layui-icon" style="font-size: 20px">&#xe68e;</i>
                    运维平台
                </div>
                <ul class="layui-nav layui-layout-right ">
                    <li class="layui-nav-item">

                        <div style="float: left;">
                            <a id="logoname" href="javascript:;">
                                <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                            </a>
                        </div>
                        <div style="width: auto;height: 60px;position: relative;float: right;margin-left: -20px;"><span id="auditnum" class="layui-badge layui-hide" style="position: static;top:0;">0</span></div>
                        <dl class="layui-nav-child">
                            <dd>
                                <a href="javascript:;" data-url="users/details"><label>基本资料</label></a>
                            </dd>
                            <dd>
                                <a href="javascript:;" data-url="audit/myaudit"><label>我的审核</label></a>
                            </dd>
                            <dd>
                                <a id="4" class="layui-hide" href="javascript:;" data-url="users/management"><label>用户设置</label></a>
                            </dd>
                        </dl>
                    </li>

                    <li class="layui-nav-item">
                        <a id="logoexit" href={% url "logout" %}>退出</a></li>
                </ul>
            </div>
            <div class="layui-side layui-bg-black ">
                <div class="layui-side-scroll layui-bg-cyan">
                    <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                    <ul class="layui-nav layui-bg-cyan layui-nav-tree" id="sideNav" lay-filter="sideNav">
                        <!--layui-nav-itemed:默认展开-->
                        <li id="1" class="layui-nav-item">
                            <a class="" href={% url "host" %}>服务器管理</a>
                        </li>
                        <li id="2" class="layui-nav-item">
                            <a class="" href={% url "web" %}>项目管理</a>
                        </li>
                        <li id="3" class="layui-nav-item">
                              <a class="" href="javascript:;">版本发布</a>
                              <dl class="layui-nav-child">
                                <dd>
                                    <a href={% url "plugin" %}><label>插件</label></a>
                                </dd>
                                <dd>
<!--                                    <a href={% url "errorlogtable" %}><label>日志告警</label></a>-->
                                </dd>
                        </li>
                        <li id="4" class="layui-nav-item">
                            <a class="" href={% url "dsjob" %}>定时任务</a>
                        </li>
                        <li id="5" class="layui-nav-item">
                            <a class="" href="javascript:;">平台数据</a>
                            <dl class="layui-nav-child">
                                <dd>
                                    <a href={% url "recordtable" %}><label>服务器告警</label></a>
                                </dd>
                                <dd>
<!--                                    <a href={% url "errorlogtable" %}><label>日志告警</label></a>-->
                                </dd>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="layui-body">
                <!-- 内容主体区域 -->
                {% block content %}
                {% endblock %}
            </div>
        </div>
        //JavaScript代码区域
        <script src="{% static 'layui/layui.all.js' %}"></script>
        <script src="{% static 'js/index.js' %}"></script>
        {% block js %}{% endblock %}
    </body>
</html>
